package org.zcl.entity.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collection;

/**
 * 页面响应
 *
 * @author zhuchenglin
 * @date 2022/09/01 16:26
 * @since 2022/9/1 16:25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResponse<T> {
    /**
     * 总菌数
     */
    private int totalCount = 0;
    /**
     * 页面大小
     */
    private int pageSize = 1;
    /**
     * 页面索引
     */
    private int pageIndex = 1;
    /**
     * 数据
     */
    private Collection<T> data;

}
